<template >
    <div>
        <!-- 轮播图 -->
        <mt-swipe :auto="2000">
            <mt-swipe-item v-for="item in lunbotuList" :key="item.thumb">
                <img class="homeImg" :src="item.thumb" alt="" :class="{full:isfull}">
            </mt-swipe-item>
        </mt-swipe>
<!-- 一般轮播图都是高度100%；宽度自适应。 -->
    </div>
</template>
<style lang="scss" scoped>
.mint-swipe{
    height: 200px;
    text-align: center;
    .homeImg{
        // width: 100%;
        height:100%
    }
    .full{
        width: 100%
    }
    
}
</style>
<script>
export default {
    data(){
        return {

        }
    },
    props:['lunbotuList','isfull']
}
</script>